home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 June: Reference Library / Dev.CD Jun 94.toast / Periodicals / develop / develop Issue 11 / develop 11 code / The NetWork Project / Examples (Sources) / SampleTool.r < prev    next >
Encoding:
Text File  |  1992-07-15  |  893 b   |  26 lines  |  [TEXT/MPS ]

  1. /* here is the quintessential MultiFinder friendliness device, the SIZE resource */
  2.  
  3. #include "Types.R"
  4.  
  5. resource 'SIZE' (-1) {
  6.     dontSaveScreen,
  7.     acceptSuspendResumeEvents,
  8.     enableOptionSwitch,
  9.     canBackground,                /* we can background; we don't currently, but our sleep value */
  10.                                 /* guarantees we don't hog the Mac while we are in the background */
  11.     multiFinderAware,            /* this says we do our own activate/deactivate; don't fake us out */
  12.     backgroundAndForeground,    /* this is definitely not a background-only application! */
  13.     dontGetFrontClicks,            /* change this is if you want "do first click" behavior like the Finder */
  14.     ignoreChildDiedEvents,        /* essentially, I'm not a debugger (sub-launching) */
  15.     is32BitCompatible,            /* this app should not be run in 32-bit address space */
  16.     reserved,
  17.     reserved,
  18.     reserved,
  19.     reserved,
  20.     reserved,
  21.     reserved,
  22.     reserved,
  23.     384 * 1024,
  24.     384 * 1024    
  25. };
  26.